export default {
  /**
   * 获取当前登录用户
   * @param cb
   */
  fetchUser (cb) {
    axios.get('/api/admin/profile', {params: {include: 'profile'}}).then(function (response) {
      // console.log('Susscee:', response)
      cb(response.data.data)
    })
  },
}